var reqclass=require('./class');

var reqclass1=reqclass.cla1;
var reqclass2=reqclass.cla2;

console.log(reqclass1);//cal1提供的是JSON
console.log(reqclass1.name);//引用cal1的JSON中的name属性。

console.log(reqclass2);
console.log(reqclass2.name);